<?php

declare(strict_types=1);

namespace App\CustHub\Dto;

class RobotLoginAfterDto
{
    /**
     * 类型 0=退出 1=登录
     * @var int
     */
    private int $type;

    /**
     * 机器人ID
     * @var int
     */
    private int $robotId;

    /**
     * 备注
     * @var string
     */
    private string $remark;

    /**
     * @param int $type
     * @param int $robotId
     * @param string $remark
     */
    public function __construct(int $type, int $robotId, string $remark)
    {
        $this->type = $type;
        $this->robotId = $robotId;
        $this->remark = $remark;
    }

    public function getType(): int
    {
        return $this->type;
    }

    public function getRobotId(): int
    {
        return $this->robotId;
    }

    public function getRemark(): string
    {
        return $this->remark;
    }
}